package cn.gcjxsc.payment.repository.wx;

import cn.gcjxsc.payment.entity.wx.PayRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface PayRecordRepository extends JpaRepository<PayRecord, Integer>, JpaSpecificationExecutor<PayRecord> {

    PayRecord findByOutTradeNo(String tradeNo);

    PayRecord findByTradeNo(String tradeNo);

    PayRecord findBySn(String sn);

}
